<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="../../css/bootstrap.min.css">
<link rel="stylesheet" href="../../css/font-awesome.min.css">
<link rel="stylesheet" href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
<link rel="stylesheet" href="../../plugins/ztree/css/metroStyle/metroStyle.css">
<link rel="stylesheet" href="../../css/main.css">
<script src="../../libs/jquery.min.js"></script>
<script src="../../plugins/layer/layer.js"></script>
<script src="../../libs/bootstrap.min.js"></script>
<script src="../../libs/vue.min.js"></script>
<script src="../../plugins/jqgrid/grid.locale-cn.js"></script>
<script src="../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
<script src="../../plugins/ztree/jquery.ztree.all.min.js"></script>
<script src="../../js/common.js"></script>
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			<a v-if="hasPermission('mark:tinfmark:save')" class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			<a v-if="hasPermission('mark:tinfmark:update')" class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			<a v-if="hasPermission('mark:tinfmark:delete')" class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
											<div class="form-group">
			   	<div class="col-sm-2 control-label">标的名称</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.markName" placeholder="标的名称"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">标的期限</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.markTerm" placeholder="标的期限"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">标的金额</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.markSum" placeholder="标的金额"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">回款方式</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.remMethod" placeholder="回款方式"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">预期年化</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.markExpect" placeholder="预期年化"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">标的类型</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.markType" placeholder="标的类型"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">起投金额</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.startSum" placeholder="起投金额"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">最高金额</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.maxSum" placeholder="最高金额"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">开标时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.startTime" placeholder="开标时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">筹标期限</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.deadLine" placeholder="筹标期限"/>
			    </div>
			</div>
									<!--<div class="form-group">-->
			   	<!--<div class="col-sm-2 control-label">0 未审核 1通过审核待投标 2 投标中 3 还款中 4 已完成 5流标 6 驳回</div>-->
			   	<!--<div class="col-sm-10">-->
			      <!--<input type="text" class="form-control" v-model="tInfMark.markStauts" placeholder="0 未审核 1通过审核待投标 2 投标中 3 还款中 4 已完成 5流标 6 驳回"/>-->
			    <!--</div>-->
			<!--</div>-->
									<div class="form-group">
			   	<div class="col-sm-2 control-label">标的详情</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.markContent" placeholder="标的详情"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">借款人姓名</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.name" placeholder="借款人姓名"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">性别</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.age" placeholder="性别"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">出生日期</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.birthday" placeholder="出生日期"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">婚姻状况</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.marry" placeholder="婚姻状况"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">职业</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.vacation" placeholder="职业"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">月收入</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.mouthlySum" placeholder="月收入"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">学历</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.education" placeholder="学历"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">发布人</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="tInfMark.releaseUser" placeholder="发布人"/>
			    </div>
			</div>
									<!--<div class="form-group">-->
			   	<!--<div class="col-sm-2 control-label">发布时间</div>-->
			   	<!--<div class="col-sm-10">-->
			      <!--<input type="text" class="form-control" v-model="tInfMark.releaseTime" placeholder="发布时间"/>-->
			    <!--</div>-->
			<!--</div>-->
							<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>
</div>

<script src="../../js/modules/mark/tinfmark.js"></script>
</body>
</html>